package embyparse.noobparser;


public class LiteralPattern extends Pattern {

	public static NullLiteral nullLiteral = new NullLiteral();
	public static IntegerLiteral intLiteral = new IntegerLiteral();
	public static DoubleLiteral doubleLiteral = new DoubleLiteral();
	public static StringLiteral stringLiteral = new StringLiteral();
	public final static LiteralPattern booleanLiteral = new LiteralPattern("BOOLEAN_LITERAL");

	public LiteralPattern(String name) {
		super(name);
		setSuperPattern("LITERAL");
	}

}

class NullLiteral extends LiteralPattern{
	public NullLiteral() {
		super("NULL_LITERAL");
	}
}

class IntegerLiteral extends LiteralPattern{
	public IntegerLiteral() {
		super("INT_LITERAL");
	}
}

class DoubleLiteral extends LiteralPattern{
	public DoubleLiteral() {
		super("DOUBLE_LITERAL");
	}
}
class StringLiteral extends LiteralPattern{
	public StringLiteral() {
		super("STRING_LITERAL");
	}
}